<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AddClass.aspx.cs" Inherits="StudentPages_AddClass" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h1>Select a course to add to your schedule</h1>
<asp:GridView ID="courseGrid"
    runat="server"
    AutoGenerateColumns="False"  
    OnSelectedIndexChanged="courseGrid_SelectedIndexChanged" 
    CellPadding="4" 
    ForeColor="#333333" 
    GridLines="None" >
    <Columns>
        <asp:BoundField DataField="COURSE" HeaderText="Course Name" />
        <asp:BoundField DataField="ROOM" HeaderText="Room Number" />
        <asp:BoundField DataField="CREDITS" HeaderText="Credits" />
        <asp:BoundField DataField="LAST" HeaderText="Instructor" />
        <asp:ButtonField CommandName="Select" Text="Add Class" />
    </Columns>
    <RowStyle BackColor="#EFF3FB" />
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <EditRowStyle BackColor="#2461BF" />
    <AlternatingRowStyle BackColor="White" />
</asp:GridView>
    <br />
    <asp:Label ID="testlabel" runat="server" ForeColor="White"></asp:Label>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">

</asp:Content>

